﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddEditGallery.aspx.cs" Inherits="Web.Cms.Gallery.AddEditGallery" Theme="Default" %>

<%@ Register TagPrefix="cc1" Namespace="AWS.FilePicker" Assembly="FilePickerControl" %>
<%@ Register TagPrefix="radCln" Namespace="Telerik.WebControls" Assembly="RadCalendar.Net2" %>
<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            text-align: right;
            width: 712px;
        }
        .style3
        {
            width: 712px;
        }
        .style5
        {
            text-align: right;
            width: 712px;
            color: #FF0000;
        }
        .style8
        {
            text-align: right;
            width: 712px;
            height: 109px;
        }
        .style9
        {
            height: 109px;
        }
        .style18
        {
            text-align: right;
            width: 712px;
            height: 30px;
        }
        .style19
        {
            height: 30px;
        }
        .style20
        {
            text-align: right;
            width: 712px;
            height: 33px;
        }
        .style21
        {
            height: 33px;
        }
        .style22
        {
            text-align: right;
            width: 712px;
            height: 29px;
        }
        .style23
        {
            height: 29px;
        }
        .style24
        {
            text-align: right;
            width: 712px;
            height: 26px;
        }
        .style25
        {
            height: 26px;
        }
        .style26
        {
            text-align: right;
            width: 712px;
            height: 31px;
        }
        .style27
        {
            height: 31px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    
    <table class="style1" width="1000px">
        <tr>
            <td class="style5">
                &nbsp;</td>
            <td>
                <asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="true" ForeColor="red" 
                Font-Size="12px"></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style18">
                <strong>Tiêu đề ảnh:</strong></td>
            <td class="style19">
                <asp:TextBox ID="txtTitle" runat="server" Width="360px" Height="22"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style8">
                <strong>Ảnh:</strong></td>
            <td class="style9">
            <asp:Image ID="ImgAvatar" runat="server" Height="70px" Width="70px" 
                ImageUrl="~/App_Themes/Default/Images/noDefaultImage.gif" />
            </td>
        </tr>
        <tr>
            <td class="style20">
                <strong>Ảnh đại diện:</strong></td>
            <td class="style21">
                 
            <strong>
             <cc1:FilePicker ID="txtAvatar" runat="server" fpPopupURL="/FilePicker/FilePicker.aspx"
                 Width="175px" fpAllowedUploadFileExts="bmp,jpg,gif,png" fpUploadDir="/Uploads/hinhanh/"></cc1:FilePicker></strong> (100px x 100px)
            </td>
        </tr>
         <tr>
            <td class="style20">
                <strong>Ảnh lớn:</strong></td>
            <td class="style21">
                 
            <strong>
             <cc1:FilePicker ID="txtBigAvatar" runat="server" fpPopupURL="/FilePicker/FilePicker.aspx"
                 Width="175px" fpAllowedUploadFileExts="bmp,jpg,gif,png" fpUploadDir="/Uploads/hinhanh/"></cc1:FilePicker></strong>
            </td>
        </tr>
        <tr>
            <td class="style22">
                <strong>Chuyên mục</strong>:</td>
            <td class="style23">
                 
                <asp:DropDownList ID="dropZoneId" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style24">
                <strong>Kiểu ảnh:</strong></td>
            <td class="style25">
                <asp:CheckBox ID="chkAnhNoiBat" runat="server" Text="Ảnh nổi bật" />
                <asp:CheckBox ID="chkAnhHot" runat="server" Text="Ảnh mới nhất" />
            </td>
        </tr>
        <tr>
            <td class="style26">
                <strong>Ngày tạo:</strong></td>
            <td class="style27">
                <radCln:RadDateTimePicker ID="txtCreateDate" runat="server">
                </radCln:RadDateTimePicker>
            </td>
        </tr>
        <tr>
            <td class="style2">
                <strong>Nội dung </strong>
            </td>
            <td>
          <CE:Editor AutoConfigure="Minimal" runat="server" ID="txtTeaser" Height="178px" 
                    style="margin-left: 0px" Width="529px"></CE:Editor>
            </td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;</td>
            <td>
        <asp:LinkButton ID="btnAddVideo" runat="server" CssClass="admin-btn-add" onclick="btnAddVideo_Click" 
                 />  
            <asp:LinkButton ID="btnUpdateVideo" runat="server" 
            CssClass="admin-btn-edit" onclick="btnUpdateVideo_Click"/>   
                  <asp:LinkButton ID="btnCanelVideo" runat="server" 
            CssClass="admin-btn-exit" onclick="btnCanelVideo_Click"/>     
            </td>
        </tr>
    </table>
    
    </form>
</body>
</html>
